ExamPlay Light Logo
Se connecter

Computer Science for IGCSE & O level - Programming (Section 10 - No. 32)

When you open a file in 'r+' mode (read and write), what happens?
The file is created.
The file is opened for reading and writing, starting from the beginning.
The file is opened for writing, overwriting existing content.
The file is opened in binary mode.

Explication

The 'r+' mode allows reading and writing. The file pointer is placed at the beginning.

Commentaires (0)

Connectez-vous pour commenter
Publicité
BrainBehindX Inc Logo
©2026; Alimenté par BrainBehindX Inc